package com.tool4j.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tool4j.entity.AiSessionLog;
import com.tool4j.entity.params.ChatParams;
import com.tool4j.entity.params.PageParams;

import java.util.List;

public interface AiSessionLogService extends IService<AiSessionLog> {

    void saveIfNotExists(ChatParams params);

    Page<AiSessionLog> findPage(Long userId, PageParams<AiSessionLog> params);

    void deleteSession(Long userId, Long id);

    void deleteAllSession(Long userId);
}
